package com.shuma.shopmanage.model.shop.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 分页查询参数
 * @author wp
 * @data 2023/10/21
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "分页查询参数")
public class PageDto implements Serializable {
    /**
     * 页面大小
     */
    @ApiModelProperty(value = "页面大小")
    private long size = 8;

    /**
     * 当前页数
     */
    @ApiModelProperty(value = "当前页数")
    private long current = 1;

    private static final long serialVersionUID = 1L;
}
